home *** CD-ROM | disk | FTP | other *** search
/ Clickx 13 / Clickx 13.iso / mac / Utilities / Dialog Studio Lite 1.1.1 / Goodies / Sample Dialogs / Radio Groups.scr < prev   
Encoding:
Text File  |  2001-03-01  |  1.1 KB  |  15 lines  |  [TEXT/ToyS]

  1. set theDialog to {size:{349, 171}, style:standard window, closeable:true, name:"Radio Groups", default item:4, contents:{¬
  2.     {class:group box, name:"Group One", bounds:{64, 40, 194, 115}}, ¬
  3.     {class:group box, name:"Group Two", bounds:{203, 40, 333, 115}}, ¬
  4.     {class:icon, bounds:{18, 18, 50, 50}, contents:1}, ¬
  5.     {class:push button, bounds:{261, 133, 331, 153}, name:"OK"}, ¬
  6.     {class:push button, bounds:{175, 133, 245, 153}, name:"Cancel"}, ¬
  7.     {class:radio button, bounds:{213, 59, 317, 75}, name:"Option A", value:true}, ¬
  8.     {class:radio button, bounds:{213, 75, 317, 91}, name:"Option B", value:false}, ¬
  9.     {class:radio button, bounds:{213, 91, 317, 107}, name:"Option C", value:false}, ¬
  10.     {class:static text, bounds:{74, 14, 274, 30}, contents:"Choose an option:"}, ¬
  11.     {class:radio button, bounds:{74, 59, 178, 75}, name:"Option 1", value:true}, ¬
  12.     {class:radio button, bounds:{74, 75, 178, 91}, name:"Option 2", value:false}, ¬
  13.     {class:radio button, bounds:{74, 91, 178, 107}, name:"Option 3", value:false}}}
  14.  
  15. dd auto dialog theDialog with fonts {name:"Charcoal", size:12} with grayscale